<template>
    <el-container>
        <el-header>
            <myNav></myNav>
        </el-header>
        <el-main>
            <router-view></router-view>
        </el-main>
    </el-container>
</template>

<script>
    import myNav from '../../components/user/myuserNav'
    export default {
        name: 'userHome',
        components: {
            myNav,
        },
    }
</script>
<style lang="less" scoped>
    .el-header {
        background-color: rgba(40, 58, 90, 0.8);
        text-align: center;
        height: 10vh;
        line-height: 10vh;
        font-family: luoyaya;
    }


    .el-main {
        background-color: #FFF;
        color: #333;
        // text-align: center;
        height: 90vh;
        padding: 0;
    }

    @font-face {
        font-family: luoyaya;
        src: url("../../assets/luoyaya.ttf");
    }
</style>